package com.sword.log;


import cn.hutool.core.lang.caller.CallerUtil;
import cn.hutool.log.AbstractLog;
import cn.hutool.log.Log;

import java.util.HashMap;
import java.util.LinkedHashMap;

/**
 * @description:
 * @author：Lv.RJ
 * @version: 1.0.0
 * @create: 2025/02/19
 **/
public final class LogFactory {
    public static LogFactory logFactory = new LogFactory();

    public static LogFactory getLogger(Class<?> clazz) {
        cn.hutool.log.LogFactory.get(clazz);
        return logFactory;
    }

    public void info(String var1, Object... var2){
        cn.hutool.log.LogFactory.get(CallerUtil.getCallerCaller()).info(var1,var2);
    }

}
